package com.sxz.sbs.module.telephone.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 通讯录传递实体
 */

public class TelBookIntentBean implements Parcelable {
    private String txt_Name;
    private String url_HeadPhoto;
    private String txt_PositionName;
    private String txt_Phone;
    private int mark;
    private int Id;
    private String txt_DepartmentName;
    private String companyName;

    public String getTxt_Name() {
        return txt_Name;
    }

    public void setTxt_Name(String txt_Name) {
        this.txt_Name = txt_Name;
    }

    public String getUrl_HeadPhoto() {
        return url_HeadPhoto;
    }

    public void setUrl_HeadPhoto(String url_HeadPhoto) {
        this.url_HeadPhoto = url_HeadPhoto;
    }

    public String getTxt_PositionName() {
        return txt_PositionName;
    }

    public void setTxt_PositionName(String txt_PositionName) {
        this.txt_PositionName = txt_PositionName;
    }

    public String getTxt_Phone() {
        return txt_Phone;
    }

    public void setTxt_Phone(String txt_Phone) {
        this.txt_Phone = txt_Phone;
    }

    public int getMark() {
        return mark;
    }

    public void setMark(int mark) {
        this.mark = mark;
    }

    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public String getTxt_DepartmentName() {
        return txt_DepartmentName;
    }

    public void setTxt_DepartmentName(String txt_DepartmentName) {
        this.txt_DepartmentName = txt_DepartmentName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.txt_Name);
        dest.writeString(this.url_HeadPhoto);
        dest.writeString(this.txt_PositionName);
        dest.writeString(this.txt_Phone);
        dest.writeInt(this.mark);
        dest.writeInt(this.Id);
        dest.writeString(this.txt_DepartmentName);
        dest.writeString(this.companyName);
    }

    public TelBookIntentBean() {
    }

    protected TelBookIntentBean(Parcel in) {
        this.txt_Name = in.readString();
        this.url_HeadPhoto = in.readString();
        this.txt_PositionName = in.readString();
        this.txt_Phone = in.readString();
        this.mark = in.readInt();
        this.Id = in.readInt();
        this.txt_DepartmentName = in.readString();
        this.companyName = in.readString();
    }

    public static final Parcelable.Creator<TelBookIntentBean> CREATOR = new Parcelable.Creator<TelBookIntentBean>() {
        @Override
        public TelBookIntentBean createFromParcel(Parcel source) {
            return new TelBookIntentBean(source);
        }

        @Override
        public TelBookIntentBean[] newArray(int size) {
            return new TelBookIntentBean[size];
        }
    };
}
